package com.say.bean.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.say.bean.common.BaseEntity;

@Entity
@Table(name = "chat")
public class Chat extends BaseEntity {
	
    private static final long serialVersionUID = 1374006756351004109L;
    
    private String userId;
    
    private String toUserId;
    
    private String text;
    
    private Integer type;
    
    private Integer status;
    
    private Date createTime;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getToUserId() {
		return toUserId;
	}

	public void setToUserId(String toUserId) {
		this.toUserId = toUserId;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

    
}
